Skip to content

Commit

Permalink
Merge pull request #154 from fingerprintjs/chore/improve-cleanup-action
Browse files Browse the repository at this point in the history
ci: cleanup changesets on a separate branch
  • Loading branch information
TheUnderScorer authored Oct 1, 2024
2 parents 080f31f + a9425a3 commit 9e35aa1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 11 deletions.
Binary file removed .changeset/changesets-khaki-oranges-visit.zip
Binary file not shown.
5 changes: 5 additions & 0 deletions .changeset/orange-taxis-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'fingerprint-pro-server-api-openapi': minor
---

**visitors**: Add the confidence field to the VPN Detection Smart Signal
15 changes: 11 additions & 4 deletions .github/workflows/upload-changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
types:
- published

permissions:
contents: write

jobs:
upload-changesets:
name: Upload changesets
Expand All @@ -33,10 +30,20 @@ jobs:
cleanup-changesets:
runs-on: ubuntu-latest
needs: upload-changesets
environment: production
steps:
- name: 'Get token for the GitHub App'
if: ${{ vars.APP_ID != '' }}
uses: actions/create-github-app-token@f2acddfb5195534d487896a656232b016a682f3c
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- uses: actions/checkout@v4
with:
ref: main
token: ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }}

- name: Remove changesets zip files
run: rm .changeset/changesets-*.zip
Expand All @@ -45,5 +52,5 @@ jobs:
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5
with:
add: '.'
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }}
message: 'chore(skip-ci): remove changesets zip files'
6 changes: 0 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# fingerprint-pro-server-api-openapi

## 1.2.0

### Minor Changes

- **visitors**: Add the confidence field to the VPN Detection Smart Signal ([262747c](https://github.com/fingerprintjs/fingerprint-pro-server-api-openapi/commit/262747cea6c722fc7267725018cb0f6a6a6b8493))

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fingerprint-pro-server-api-openapi",
"private": true,
"version": "1.2.0",
"version": "1.1.0",
"main": "index.js",
"license": "MIT",
"type": "module",
Expand Down

0 comments on commit 9e35aa1

Please sign in to comment.