Skip to content

Commit

Permalink
Merge branch 'main' into bigquery
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanRosenboim committed Aug 19, 2024
2 parents ea7fa1f + df69853 commit c749f2a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/scripts/uncover_assets_by_topic/github_action_example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deactivate Repos by Topic

on:
workflow_dispatch:

jobs:
run-script:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x" # Specify your Python version here

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install requests
python -m pip install PyGithub
python -m pip install urllib3
- name: Run Python script
env:
JIT_CLIENT_ID: ${{ secrets.JIT_CLIENT_ID }}
JIT_SECRET: ${{ secrets.JIT_SECRET }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN provided by GitHub Actions by default
GITHUB_ORGANIZATION: ${{ github.repository_owner }}
TOPIC_TO_UNCOVER: <your topic name>
run: python uncover_assets_by_topic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<<<<<<< HEAD
from math import log
=======
>>>>>>> main
import os
import requests
import time
Expand Down

0 comments on commit c749f2a

Please sign in to comment.