[i am using in my react native app onesignal version 4.5.0 but onesignal's update their version with 5.0.0 know i did not get OneSignal.getDeviceState() function because they change their functions , this function is not recongnized in new new version how i get DeviceState]: #384
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Set Response Time | |
on: | |
issue_comment: | |
types: | |
- created | |
issues: | |
types: | |
- closed | |
jobs: | |
calculate: | |
name: set reponse time for the issue | |
if: github.event.issue.pull_request == null | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- run: npm install @octokit/action | |
- uses: actions/github-script@v6 | |
id: set-time | |
with: | |
result-encoding: string | |
script: | | |
const os_probot_metadata = require('./.github/os_probot_metadata.js') | |
const set_response_time = require('./.github/set_response_times.js') | |
return await set_response_time(context, os_probot_metadata) | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Get result | |
run: echo "${{steps.set-time.outputs.result}}" >> $GITHUB_STEP_SUMMARY |