Skip to content

Commit

Permalink
change GitHub action for Steampipe
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdbd committed May 6, 2024
1 parent 10f6584 commit 3327728
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/reddit-links-to-telegram.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,24 @@ jobs:

- name: Setup Steampipe and its plugins
# https://github.com/marketplace/actions/setup-steampipe
uses: francois2metz/setup-steampipe@v1
uses: turbot/steampipe-action-setup@v1

with:
steampipe-version: 'latest'
steampipe-version: latest
# https://hub.steampipe.io/plugins/turbot/hackernews#configuration
# https://hub.steampipe.io/plugins/turbot/reddit#configuration
plugin-connections: |
{
connection "hackernews" {
plugin = "hackernews"
max_items = 5000
}
connection "reddit" {
plugin = "reddit"
client_id = "${{ fromJSON(secrets.REDDIT).client_id }}",
client_secret = "${{ fromJSON(secrets.REDDIT).client_secret }}",
username = "${{ fromJSON(secrets.REDDIT).username }}",
password = "${{ fromJSON(secrets.REDDIT).password }}"
}
connection "hackernews" {
plugin = "hackernews"
max_items = 5000
}
connection "reddit" {
plugin = "reddit"
client_id = "${{ fromJSON(secrets.REDDIT).client_id }}",
client_secret = "${{ fromJSON(secrets.REDDIT).client_secret }}",
username = "${{ fromJSON(secrets.REDDIT).username }}",
password = "${{ fromJSON(secrets.REDDIT).password }}"
}
- name: Query Reddit for React jobs
Expand Down

0 comments on commit 3327728

Please sign in to comment.