Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add notice and disable release action #203

Merged
merged 1 commit into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 40 additions & 37 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,46 +29,49 @@ jobs:
- name: Run build
run: yarn build

# NOTE: publishing is now performed internally, do not
# re-enable this job.

# Publishing is done in a separate job to allow
# for all matrix builds to complete.
release:
needs: test
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
strategy:
fail-fast: false
matrix:
node: [18]
# release:
# needs: test
# runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/main'
# strategy:
# fail-fast: false
# matrix:
# node: [18]

steps:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 18.x
# steps:
# - name: Setup Node
# uses: actions/setup-node@v1
# with:
# node-version: 18.x

- name: Check out repo
uses: actions/checkout@v2
with:
fetch-depth: 2
# - name: Check out repo
# uses: actions/checkout@v2
# with:
# fetch-depth: 2

# Fetch tags and describe the commit before the merge commit
# to see if it's a version publish
- name: Fetch tags
run: |
git fetch --tags
if git describe --exact-match --match "v*.*.*" HEAD^2
then
echo "Found version commit tag. Publishing."
echo "publish=true" >> $GITHUB_ENV
else
echo "Version commit tag not found. Not publishing."
fi
# # Fetch tags and describe the commit before the merge commit
# # to see if it's a version publish
# - name: Fetch tags
# run: |
# git fetch --tags
# if git describe --exact-match --match "v*.*.*" HEAD^2
# then
# echo "Found version commit tag. Publishing."
# echo "publish=true" >> $GITHUB_ENV
# else
# echo "Version commit tag not found. Not publishing."
# fi

- name: Publish
if: env.publish == 'true'
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
yarn
npm publish
# - name: Publish
# if: env.publish == 'true'
# env:
# NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
# run: |
# echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > .npmrc
# yarn
# npm publish
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
> NOTE - This repository is no longer actively maintained.
> Please refer to the [Data Model Documentation](https://docs.jupiterone.io/api/data-model/jupiterone-data-model) for the most up-to-date information.

# JupiterOne Graph Data Model

- [Data Model Guide](https://community.askj1.com/kb/articles/846-jupiterone-data-model)
- [Data Model Documentation](https://docs.jupiterone.io/api/data-model/jupiterone-data-model)

The **JupiterOne Graph Data Model** describes a set of common classifications
for data found in an organization's set of digital assets, as well as common
Expand Down
6 changes: 4 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading