ServiceNow / sncicd-apply-changes

MIT License
12 stars 6 forks source link

Made Branch available as parameter #3

Closed phifogg closed 3 years ago

phifogg commented 3 years ago

Addressing Issue #2

Branch is now an attribute which can be used from TypeScript / YAML file.

chiarng commented 3 years ago

@phifogg hey daniel! firstly, thanks a bunch for contributing! keep up with the open source spirit! i haven't had a chance to dig into your commits in detail yet, but noted there's a LOT of node modules you are committing as a part of this PR. can you find a way to fix that?

phifogg commented 3 years ago

Changes applied to code:

phifogg commented 3 years ago

Example YAML content:

  - name: ServiceNow CI/CD Apply Changes
    uses: phifogg/sncicd-apply-changes@1.2.0
    env:
      snowUsername: ${{ secrets.SNOW_USERNAME }}
      snowPassword: ${{ secrets.SNOW_PASSWORD }}
      snowSourceInstance: ${{ secrets.SNOW_TEST_INSTANCE }}
      appSysID: ${{ secrets.APP_SYS_ID }}
      branch: 'instances/dev'