sf-plugin-permission-sets 0.0.0-dev.50 → 0.0.0-dev.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +18 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -402,13 +402,16 @@ jobs:
402
402
  check:
403
403
  runs-on: ubuntu-latest
404
404
  steps:
405
- - uses: actions/checkout@v4
406
- - uses: actions/setup-node@v4
405
+ - uses: actions/checkout@v7
406
+ - uses: actions/setup-node@v7
407
407
  with:
408
408
  node-version: 20
409
- - run: npm install --global @salesforce/cli
410
- - run: sf plugins install sf-plugin-permission-sets
411
- - run: sf ps check --file "permissions/*.yml"
409
+ - name: Install Salesforce CLI
410
+ run: npm install --global @salesforce/cli
411
+ - name: Install the plugin
412
+ run: sf plugins install sf-plugin-permission-sets
413
+ - name: Check the permission files
414
+ run: sf ps check --file "permissions/*.yml"
412
415
  ```
413
416
 
414
417
  **2. Apply on merge to main** (needs org auth):
@@ -424,17 +427,19 @@ jobs:
424
427
  apply:
425
428
  runs-on: ubuntu-latest
426
429
  steps:
427
- - uses: actions/checkout@v4
428
- - uses: actions/setup-node@v4
430
+ - uses: actions/checkout@v7
431
+ - uses: actions/setup-node@v7
429
432
  with:
430
433
  node-version: 20
431
- - run: npm install --global @salesforce/cli
432
- - run: sf plugins install sf-plugin-permission-sets
433
- # Authenticate to the org from a stored auth URL.
434
- - run: echo '${{ secrets.SF_AUTH_URL }}' > auth.txt
435
- - run: sf org login sfdx-url --sfdx-url-file auth.txt --alias prod
434
+ - name: Install Salesforce CLI
435
+ run: npm install --global @salesforce/cli
436
+ - name: Install the plugin
437
+ run: sf plugins install sf-plugin-permission-sets
438
+ - name: Log in to the org
439
+ run: echo '${{ secrets.SF_AUTH_URL }}' | sf org login sfdx-url --sfdx-url-stdin --alias prod
436
440
  # --no-prompt so a deletion never blocks on a confirmation in CI.
437
- - run: sf ps apply --file "permissions/*.yml" --target-org prod --mode sync --no-prompt
441
+ - name: Apply the assignments
442
+ run: sf ps apply --file "permissions/*.yml" --target-org prod --mode sync --no-prompt
438
443
  ```
439
444
 
440
445
  Get the auth URL once with `sf org display --verbose --target-org prod`, copy the `Sfdx Auth Url` value, and save it as a repository secret named `SF_AUTH_URL`.
package/package.json CHANGED
@@ -122,5 +122,5 @@
122
122
  "exports": "./lib/index.js",
123
123
  "type": "module",
124
124
  "author": "Isaac Ferreira",
125
- "version": "0.0.0-dev.50"
125
+ "version": "0.0.0-dev.52"
126
126
  }