Skip to content

Commit

Permalink
Merge pull request #8 from atlanhq/doc-changes
Browse files Browse the repository at this point in the history
DQ-420 docs: modify readme
  • Loading branch information
rittikdasgupta authored Oct 8, 2024
2 parents cf60eb0 + 45477db commit 5487b21
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ We've created a GitHub Action to help you out — putting Atlan's impact analysi

Here's what it looks like 👇

![GitHub Action comment screenshot](https://iili.io/HI7d0zB.png)
![GitHub Action comment screenshot](https://github.com/user-attachments/assets/75db2cb9-f62b-4696-9918-e70b7360b022)

## Prerequisites

Expand All @@ -23,7 +23,7 @@ Here's what it looks like 👇
- `ATLAN_INSTANCE_URL` with the URL of your Atlan instance.
- `ATLAN_API_TOKEN` with the value of the API token.

![Actions Secrets Screenshot](https://iili.io/HI7gfx2.png)
![Actions Secrets Screenshot](https://github.com/user-attachments/assets/8eb94830-08f0-4ad5-9186-813c6a00e8e3)

2. Add the GitHub Action to your workflow:

Expand All @@ -42,12 +42,17 @@ Here's what it looks like 👇
name: Get Downstream Assets
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run Action
uses: atlanhq/atlan-action@v2
uses: atlanhq/atlan-action@v1
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
ATLAN_INSTANCE_URL: ${{secrets.ATLAN_INSTANCE_URL}}
ATLAN_API_TOKEN: ${{secrets.ATLAN_API_TOKEN}}
# Add ATLAN_CONFIG to run impact analysis on contracts
ATLAN_CONFIG: .atlan/config.yaml
```
## Test the action
Expand Down Expand Up @@ -84,7 +89,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Run Action
uses: atlanhq/atlan-action@v2
uses: atlanhq/atlan-action@v1
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
ATLAN_INSTANCE_URL: ${{secrets.ATLAN_INSTANCE_URL}}
Expand All @@ -105,7 +110,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Run Action
uses: atlanhq/atlan-action@v2
uses: atlanhq/atlan-action@v1
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
ATLAN_INSTANCE_URL: ${{secrets.ATLAN_INSTANCE_URL}}
Expand Down

0 comments on commit 5487b21

Please sign in to comment.